package com.zhaodui.restapi.entity;

import com.google.gson.annotations.SerializedName;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class jdwxerrres {

    /**
     * code : 10000
     * charge : true
     * remain : 9977
     * msg : 查询成功,扣费
     * result : {"code":103,"msg":"发动机号错误"}
     */

    @SerializedName("code")
    private String code;
    @SerializedName("charge")
    private boolean charge;
    @SerializedName("remain")
    private int remain;
    @SerializedName("msg")
    private String msg;
    @SerializedName("result")
    private ResultBean result;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public boolean isCharge() {
        return charge;
    }

    public void setCharge(boolean charge) {
        this.charge = charge;
    }

    public int getRemain() {
        return remain;
    }

    public void setRemain(int remain) {
        this.remain = remain;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * code : 103
         * msg : 发动机号错误
         */

        @SerializedName("code")
        private int code;
        @SerializedName("msg")
        private String msg;

        public int getCode() {
            return code;
        }

        public void setCode(int code) {
            this.code = code;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }
    }
}
